The SimpleMenu Component > Using the SimpleMenu component > Creating an application with the SimpleMenu component

 

Creating an application with the SimpleMenu component

The following procedure describes how to create a simple application with the SimpleMenu component. In this procedure, you enter simple ActionScript code and modify the parameters in the Property inspector. For a more complex example, see Examples for the SimpleMenu component.

To create a simple application using the SimpleMenu component:

1

Create a new file in Macromedia Flash MX.

2

Select the Flash UI Component Set 4 item on the Component panel (Window > Components).

3

Drag the SimpleMenu icon onto the stage.

4

Select the SimpleMenu and edit its properties in the Property inspector. Namely, change the Item List property, which defines the navigation items available on the SimpleMenu component.

5

Select Control > Test Movie to see the SimpleMenu component in action.

6

To receive notification of a button on the SimpleMenu being clicked, modify the Click Handler property in the Property inspector (see Creating a Click Handler).